const { app, BrowserWindow, session } = require("electron");
const path = require("path");
function createWindow() {
	const win = new BrowserWindow({
		width: 1200,
		height: 800,
		webPreferences: {
			preload: path.join(__dirname, "preload.js"),
			contextIsolation: false,
			nodeIntegration: false,
		},
	});
	win.loadURL("https://www.messenger.com/");
	win.webContents.openDevTools();
}

app.whenReady().then(createWindow);
